xen: Fix backport of "x86/tsx: Implement controls for RTM force-abort mode"
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 May 2019 08:51:31 +0000 (10:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 May 2019 08:51:31 +0000 (10:51 +0200)
commit0ebfc81c091be150343d6ce948841a1e6cf89361
tree1ee110181021603f6fbabb1573668eb7f90b9c21
parente983e8ae84efd5e43045a3d20a820f13cb4a75bf
xen: Fix backport of "x86/tsx: Implement controls for RTM force-abort mode"

The posted version of this patch depends on c/s 3c555295 "x86/vpmu: Improve
documentation and parsing for vpmu=" (Xen 4.12 and later) to prevent
`vpmu=rtm-abort` impliying `vpmu=1`, which is outside of security support.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/vpmu.c